package com.wanxi.spring.cloud.team.controller;

import com.wanxi.spring.cloud.commons.api.CommonResult;
import com.wanxi.spring.cloud.team.service.ChangeUserTeamRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
@RestController
@RequestMapping("/changeUserTeamRecord")
public class ChangeUserTeamRecordController {

    @Autowired
    ChangeUserTeamRecordService changeUserTeamRecordService;

    @GetMapping("/getChangeUserTeamRecords")
    public CommonResult getChangeUserTeamRecords(@RequestParam Map map){
        return changeUserTeamRecordService.getChangeUserTeamRecords(map);
    }
}
